package com.zj.demo.ctrl;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloCtrl {

	@RequestMapping(value="sayhello",method=RequestMethod.GET)
	public String sayHello() {	
//		int i=1/0;
		return "hello!!!";
	}
}
